﻿/******************************************************   
创建者: 梁家健
创建时间: 2017-07-28
修改:
修改时间: 
功能: 零售分部用户实体
 ******************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.nm.Attributes;

namespace BaseAPI.model
{
    public class OperationAreaUserData
    {
        public class NeceModel
        {
            [ParamDescription("零售分部ID")]
            public string OperationAreaID { get; set; }

            [ParamDescription("用户ID")]
            public int UserID { get; set; }

            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }
        }

        public class ListModel : NeceModel
        {
            [ParamDescription("用户ID")]
            public string UserName { get; set; }
        }

        public class ModifyModel
        {
            public IList<NeceModel> list { get; set; }
        }

        public class AreaUserList
        {
            [ParamDescription("零售分部ID")]
            public string OperationAreaID { get; set; }

            [ParamDescription("用户列表")]
            public IList<string> UserList { get; set; }

        }

        public class UserListModel
        {
            [ParamDescription("已分配零售分部的所有用户")]
            public IList<int> AllChooseList { get; set; }

            [ParamDescription("当前零售分部下的用户")]
            public IList<int> CurrentUserList { get; set; }
        }

        public class UserAreaList
        {
            [ParamDescription("用户ID")]
            public int UserId { get; set; }

            [ParamDescription("当前用户下的零售分部")]
            public IList<string> OperationAreaID { get; set; }
        }
    }
}
